Page({
  data: {
    currentTab: 0, // 当前选中的tab
    tabList: [{ name: '已保存', type: 1 }, { name: '已提交', type: 2 }], // tab
    list: ['', '', '', '', '']
  },

  onLoad: function (options) {

  },
  onShow: function () {

  },
  tabHanlde(e) {
    var { index } = e.detail
    this.setData({
      currentTab: index
    })
    console.log(index)
  }

})